package com.ticket.entity;

import java.time.LocalDate;
import java.util.Date;

/**
 * @author 全谢民
 * @version 8.0
 * @description: TODO 电影实体类
 * @date 2023/10/214:28
 */
public class Movie {
     private int movieId ;                 //电影编号
     private String movieCnName;          //电影名称_中文
     private String movieFgName;        //电影名称_外语
     private String movieDetail;         //电影详情
     private int movieDuration;          //电影时长(分钟)
     private Float movieScore;           //电影评分，默认为0--保留一位小数点
     private Float movieBoxOffice;       //电影票房，默认为0--保留两位小数点
     private int movieCommentCount;       //电影参评人数，默认为0
     private LocalDate movieReleaseDate;    //date电影上映时间
     private String moviePicture;           //电影海报
     private int movieState;                  //电影状态，默认为1 0.下架1，待审核2.上架3.开售4.驳回
     private int movieAddressId;              //制片区分类id
     private Float priceStartRange;          //电影最少售价--保留一位小数点
     private Float priceFinishRange;          //电影最高售价--保留一位小数点
     private String dimensionType;              //电影维度（2D,3D）
     private MovieAddress movieAddress;
     @Override
     public String toString() {
          return "Movie{" +
                  "movieId=" + movieId +
                  ", movieCnName='" + movieCnName + '\'' +
                  ", movieScore=" + movieScore +
                  ", movieReleaseDate=" + movieReleaseDate +
                  ", moviePicture='" + moviePicture + '\'' +
                  ", priceStartRange=" + priceStartRange +
                  '}';
     }

     public MovieAddress getMovieAddress() {
          return movieAddress;
     }

     public void setMovieAddress(MovieAddress movieAddress) {
          this.movieAddress = movieAddress;
     }

     public Movie(String movieCnName) {
          this.movieCnName = movieCnName;
     }

     public Movie() {
     }

     public int getMovieId() {
          return movieId;
     }

     public void setMovieId(int movieId) {
          this.movieId = movieId;
     }

     public String getMovieCnName() {
          return movieCnName;
     }

     public void setMovieCnName(String movieCnName) {
          this.movieCnName = movieCnName;
     }

     public String getMovieFgName() {
          return movieFgName;
     }

     public void setMovieFgName(String movieFgName) {
          this.movieFgName = movieFgName;
     }

     public String getMovieDetail() {
          return movieDetail;
     }

     public void setMovieDetail(String movieDetail) {
          this.movieDetail = movieDetail;
     }

     public int getMovieDuration() {
          return movieDuration;
     }

     public void setMovieDuration(int movieDuration) {
          this.movieDuration = movieDuration;
     }

     public float getMovieScore() {
          return movieScore;
     }

     public void setMovieScore(float movieScore) {
          this.movieScore = movieScore;
     }

     public float getMovieBoxOffice() {
          return movieBoxOffice;
     }

     public void setMovieBoxOffice(float movieBoxOffice) {
          this.movieBoxOffice = movieBoxOffice;
     }

     public int getMovieCommentCount() {
          return movieCommentCount;
     }

     public void setMovieCommentCount(int movieCommentCount) {
          this.movieCommentCount = movieCommentCount;
     }

     public LocalDate getMovieReleaseDate() {
          return movieReleaseDate;
     }

     public void setMovieReleaseDate(LocalDate movieReleaseDate) {
          this.movieReleaseDate = movieReleaseDate;
     }

     public String getMoviePicture() {
          return moviePicture;
     }

     public void setMoviePicture(String moviePicture) {
          this.moviePicture = moviePicture;
     }

     public int getMovieState() {
          return movieState;
     }

     public void setMovieState(int movieState) {
          this.movieState = movieState;
     }

     public int getMovieAddressId() {
          return movieAddressId;
     }

     public void setMovieAddressId(int movieAddressId) {
          this.movieAddressId = movieAddressId;
     }

     public float getPriceStartRange() {
          return priceStartRange;
     }

     public void setPriceStartRange(float priceStartRange) {
          this.priceStartRange = priceStartRange;
     }

     public float getPriceFinishRange() {
          return priceFinishRange;
     }

     public void setPriceFinishRange(float priceFinishRange) {
          this.priceFinishRange = priceFinishRange;
     }

     public String getDimensionType() {
          return dimensionType;
     }

     public void setDimensionType(String dimensionType) {
          this.dimensionType = dimensionType;
     }
}
